# 定义数据库配置
class DBConfig:
    host = ''
    user = ''
    password = ''
    database = ''

    def __init__(self, _host, _user, _password, _database):
        self.host = _host
        self.user = _user
        self.password = _password
        self.database = _database